package o;

import android.content.Context;
import android.widget.TextView;
import com.huawei.appgallery.foundation.card.base.bean.BaseDistCardBean;
import com.huawei.appgallery.foundation.ui.framework.widget.button.ButtonFactory;
import com.huawei.appgallery.foundation.ui.framework.widget.button.DownloadButton;

public class csj implements ckc {
    protected Context ˋ;
    private ckc ॱ;

    public csj(Context context) {
        this.ˋ = context;
        this.ॱ = ButtonFactory.ˏ(DownloadButton.class, context);
    }

    public ckg ˎ(BaseDistCardBean baseDistCardBean) {
        if (this.ॱ != null) {
            return this.ॱ.ˎ(baseDistCardBean);
        }
        return null;
    }

    public CharSequence ˋ(BaseDistCardBean baseDistCardBean, cke o_cke, CharSequence charSequence, TextView textView) {
        if (this.ॱ != null) {
            return this.ॱ.ˋ(baseDistCardBean, o_cke, charSequence, textView);
        }
        return null;
    }

    public ckd ˋ() {
        if (this.ॱ != null) {
            return this.ॱ.ˋ();
        }
        return null;
    }

    public ckd ˎ(int i, int i2) {
        if (this.ॱ != null) {
            return this.ॱ.ˎ(i, i2);
        }
        return null;
    }

    public void ˋ(DownloadButton downloadButton, BaseDistCardBean baseDistCardBean, cke o_cke) {
        if (this.ॱ != null) {
            this.ॱ.ˋ(downloadButton, baseDistCardBean, o_cke);
        }
    }

    public void ॱ(Context context, DownloadButton downloadButton, BaseDistCardBean baseDistCardBean, cke o_cke) {
        if (this.ॱ != null) {
            this.ॱ.ॱ(context, downloadButton, baseDistCardBean, o_cke);
        }
    }

    public void ˎ(ckb o_ckb) {
    }
}
